<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.20.0-0/axios.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/heyui"></script>
    <link rel="stylesheet" href="/scripts/heyui/css/heyui.blue.theme.css">
    <link rel="stylesheet" href="/styles/global.css">
    <script src="/scripts/lib.js"></script>
</head>
<body>
<div id="app">
    <button @click="post">POST请求</button>
</div>    
</body>
</html>

<script>

    new Vue({
        el:"#app",
        methods: {
            post(){
                this.$http.get("api/home/config/data",function(data){
                    console.log(data);
                });
            }
        },
    })
</script>
